#ifndef _IOBJECT_H_
#define _IOBJECT_H_


#include <memory>

class IObject
{
public:
	IObject():m_subCmdCode(0){}
	uint16_t getSubCmdCode()
	{
		return m_subCmdCode;
	}
	
public:
	virtual bool handle(std::shared_ptr<Msg> msg)=0;
	
protected:
	uint16_t m_subCmdCode;
};

#endif

